package com.proj.service;

import com.proj.bean.Order;
import com.proj.bean.Orderinfo;
import com.proj.bean.Useraddress;
import com.proj.util.Page;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

public interface IOrderService {

    int addOrder(Order order);

    int addOrderInfo(Order order);

    int addOrderAddress(Order order);

    int OrderDelCart(int userid);

    List<Order> easyOrder(int userid);

    List<Order> allOrder(Page page, String text);

    int allOrdercount(String text);

    Order getMoneyByOrderid(int orderid);

    int zhifu(int orderid);

    int send(int orderid);

    int shouhuo(int orderid);

    int jieshu(int orderid);

    Useraddress getAddress(int userid);

    int overdueOrdersCancelled();

    List<Orderinfo> roseinfos();

}
